<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<title>
			Django Jobs | {% block title %}{% endblock %}
		</title>
		<link rel="stylesheet" href="/site_media/style.css" type="text/css" />
		<script type="text/javascript" src="/site_media/jquery.js"></script>
		{% block style %}{% endblock %}
	</head>
	<body>
		<ul id="nav">
			{% if user.is_authenticated %}
				<li><a href="/logout">Log Out</a></li>
				<li><a href="/user/">
				{% if user.first_name %}
					{{ user.first_name }}
				{% else %}
					{{ user.username}}
				{% endif %}: My Account</a>
					<ul>
						<li><a href = "/user/account/" >Manage Account Details</a></li>
						<li><a href = "/user/profile/" >View Public Profile</a></li>
						<li><a href = "/user/profile/privacy" >Manage Public Profile Settings</a></li>
						<li><a href = "/user/create_job/" >Post a Job</a></li>
						<li><a href = "/user/manage_jobs/" >Manage my Jobs</a></li>
						<li><a href = "/password_change/" >Change Password</a></li>
						<li><a href = "/user/resume/" >View / Upload Resume</a></li>
						<li><a href = "/user/delete/" >Delete Account</a></li>
					</ul>
				</li>
				<li><a href="/jobs/favorite/">Favorite Jobs</a></li>
				<li><a href="/user/favorite/">My People</a></li>
			{% else %}
				<li><a href="/login/">Log In</a></li>
				<li><a href="/register/">Register</a></li>
			{% endif %}
			<li><a href="/personnel/">View People</a></li>
			<li><a href="/jobs/">View Jobs</a></li>
			<li><a href="/">Home</a></li>
		</ul>
		<h1>{% block head %}{% endblock %}</h1>
		{% block content %}{% endblock %} <!-- Add Favorites "div" -->
	</body>
</html>